GoXam for WPF v3
DoChildNodeKeyRemoved Method (TreeModel<NodeType,NodeKey>)
Northwoods.GoXam.Model Namespace > TreeModel<NodeType,NodeKey> Class : DoChildNodeKeyRemoved Method
the modified node data
the key for the removed child node data
This should be called when a child node data has been removed from the collection of child nodes.
Syntax
public void DoChildNodeKeyRemoved( 
   NodeType nodedata,
   NodeKey childkey
)

Parameters

nodedata
the modified node data
childkey
the key for the removed child node data
Remarks

This is used for model update, when the model data has changed and the model itself needs to be updated to reflect those changes.

If the list of child keys implements System.Collections.Specialized.INotifyCollectionChanged the model will automatically call this method. Otherwise, you need to do so immediately after the value of FindChildNodeKeysForNode has changed.

This raises a Changed event with a value of ModelChange.RemovedChildNodeKey.

See Also

Reference

TreeModel<NodeType,NodeKey> Class
TreeModel<NodeType,NodeKey> Members